package cn.gson.springboot.model.vo;

import java.util.List;
/*1*/
public class FunctionVo {
	private int id;//功能的id
	private String text;//功能的名称
	private boolean checked;//是否有该权限，有就为true
	private List<FunctionVo> children;//是否有下一级
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getText() {
		return text;
	}
	public void setText(String text) {
		this.text = text;
	}
	public boolean isChecked() {
		return checked;
	}
	public void setChecked(Integer checked) {
		this.checked = checked==1?true:false;
	}
	public List<FunctionVo> getChildren() {
		return children;
	}
	public void setChildren(List<FunctionVo> children) {
		this.children = children;
	}
	public FunctionVo() {
		super();
	}
	public FunctionVo(int id, String text, boolean checked, List<FunctionVo> children) {
		super();
		this.id = id;
		this.text = text;
		this.checked = checked;
		this.children = children;
	}
	
}
